LanguageExt.Core

LanguageExt.Core Effects Traits

Contents

interface HasFromError <out RT, out E> Source #

where RT : HasFromError<RT, E>

Type-class giving a struct the trait of supporting conversion of the Error type to a type of E (user specified error type)

Parameters

type RT

Runtime

type E

User specified error type

Methods

method E FromError (Error error) Source #

Allows conversion from an Error type to E

Parameters

param error

Error value to convert

returns

A value of type E, usually an error representation

interface HasIO <out RT> Source #

where RT : HasIO<RT>

Minimal collection of traits for IO operations

Parameters

type RT

Runtime